
// When you import this file, you import all the cocos2d classes
#import "cocos2d.h"

// HelloWorld Layer
@interface HelloWorld : Layer
{
	int moveDirection;			// indicate player need go right or left;
	BOOL moveJump;				// indicate player need a jump
	BOOL nextToGround;			// if or not next to the ground, only next to ground, player can make a jump
	float downForce;
	float upForce;
	float leftRightForce;

	
	CGPoint playerPosition;		// 
}

// returns a Scene that contains the HelloWorld as the only child
+(id) scene;

-(void) playerMovementTick: (ccTime) dt;

- (void) gamepadTouch:(CGPoint)touchPos ;
- (CGPoint) scrollMap:(CGPoint)diff ;
	
@end

